<?php /* Smarty version 3.1.27, created on 2017-04-20 15:30:03
         compiled from "D:\wamp\www\XDL\Git2\views\User\edit.html" */ ?>
<?php
/*%%SmartyHeaderCode:1702358f8d3fba747f9_15116981%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '60661150a167eb22441d411b16cc60168283aaad' => 
    array (
      0 => 'D:\\wamp\\www\\XDL\\Git2\\views\\User\\edit.html',
      1 => 1492701200,
      2 => 'file',
    ),
    '1b1e702bef058b9df881213ab64cf558a0e7a4f7' => 
    array (
      0 => 'D:\\wamp\\www\\XDL\\Git2\\views\\User\\index.html',
      1 => 1492702197,
      2 => 'file',
    ),
    'e526877b79b78a4e1e477b588f86ed7ccbcd9edb' => 
    array (
      0 => 'e526877b79b78a4e1e477b588f86ed7ccbcd9edb',
      1 => 0,
      2 => 'string',
    ),
  ),
  'nocache_hash' => '1702358f8d3fba747f9_15116981',
  'variables' => 
  array (
    'list' => 0,
    'val' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_58f8d3fbb04e85_58227890',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_58f8d3fbb04e85_58227890')) {
function content_58f8d3fbb04e85_58227890 ($_smarty_tpl) {

$_smarty_tpl->properties['nocache_hash'] = '1702358f8d3fba747f9_15116981';
?>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <link rel="stylesheet" href="./public/css/bootstrap.min.css">
</head>
<body>
    
    <div class="container">
    <h1>index smarty</h1>
    <a href="./index.php" class="btn btn-primary">首页</a>
    <a href="./index.php?c=User&a=add" class="btn btn-primary">添加</a>
    <br><br>
    <?php
$_smarty_tpl->properties['nocache_hash'] = '1702358f8d3fba747f9_15116981';
?>

    <form action="./index.php?c=user&a=update" method="post" class="h3">
        <input type="hidden" name="id" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
">
        name:
        <input type="text" name="name" placeholder="请输入用户名" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['name'];?>
"><br><br>
        sex:
        <input type="radio" name="sex" value="0" <?php if ($_smarty_tpl->tpl_vars['data']->value['sex'] == 1) {?>checked<?php }?>>女
        <input type="radio" name="sex" value="1" <?php if ($_smarty_tpl->tpl_vars['data']->value['sex'] == 0) {?>checked<?php }?>>男
        <br><br>
        age:
        <input type="text" name="age" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['age'];?>
"><br><br>
        class:
        <input type="text" name="class" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['class'];?>
"><br><br>
        height:
        <input type="text" name="height" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['height'];?>
">
        <br><br>
        <input type="submit" value="确认编辑">
    </form>

    </div>
    
</body>
</html><?php }
}
?>